package com.example.hotel_lxy.bean;

import java.util.List;

public class SpReserveBean {

    /**
     * code : 0
     * msg : 成功
     * data : {"pay":[{"id":2,"name":"微信支付"}],"type":[{"id":1,"name":"设备押金"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<PayBean> pay;
        private List<TypeBean> type;

        public List<PayBean> getPay() {
            return pay;
        }

        public void setPay(List<PayBean> pay) {
            this.pay = pay;
        }

        public List<TypeBean> getType() {
            return type;
        }

        public void setType(List<TypeBean> type) {
            this.type = type;
        }

        public static class PayBean {
            /**
             * id : 2
             * name : 微信支付
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class TypeBean {
            /**
             * id : 1
             * name : 设备押金
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
